package cs2;

public class Dao {
    private String name;

    public Dao(){
        System.out.println("first");
    }

    public void setName(String name) {
        this.name = name;
        System.out.println("second");
    }

    public void init(){
        System.out.println("third");
    }

    public void destroy(){
        System.out.println("forth");
    }

}
